[WCiOS17] Address warnings from WPMediaPicker deprecations #16407
+56
−223
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Closes WOOMOB-1407
Description
As continuation from #16391 , this PR addresses the warnings coming from
WPMediaPickerdue to deprecated code from iOS17+. As before, we remove other bits that throw warnings but are unused in the WCiOS codebase (WPInputMediaPickerViewController). Why? Since these are no longer maintained as part of the WordPressAuthenticator library, are now part of the WCiOS codebase and represent a maintenance burden for us, so let's get rid of them if unused.WPMediaPicker is used mainly when adding images to products, but also manages some of the low-level internals of the camera (types, orientation, ... ), used for example when we scan barcodes or QRs to add products to cart/orders
Changes:
Test Steps
WordPress Media Library. Should work as expected.Take a photo. Should work as expected.ScreenRecording_12-03-2025.scanner.480p.mov